#include "mocha.h"

Mocha::Mocha(): m_beverage(nullptr)
{

}

Mocha::Mocha(Beverage *beverage)
{
    this->m_beverage = beverage;
}

std::string Mocha::getDescription()
{
    std::string temp = m_beverage->getDescription() + ", Mocha ";
    return temp;
}

double Mocha::cost()
{
    return 0.2 + m_beverage->cost();
}
